package ink.tiptop.enums;

import java.util.Arrays;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;

/**
 * @author zjf
 * @date 2020-09-10 15:55
 */
public enum EExportType {

    JSON, XML, CSV, TXT, SQL, EXCEL;

    public static final Map<String, EExportType> MAP = Arrays.stream(values())
            .collect(Collectors.toMap(Enum::name, Function.identity()));

}
